(set:$guess to (prompt:"Guess a Number!", " "))
(set:$guess to (num:$guess))
(if:$randomnumber > $guess)[(go-to:"Too Low")]
(if:$randomnumber < $guess)[(go-to:"Too High")]
(if:$guess = $randomnumber)[(go-to:"Just Right")]
(set:$guess to (prompt:"Too high, try again!", " "))
(set:$guess to (num:$guess))
(set:$guesses to it + 1)
(if:$randomnumber > $guess)[(go-to:"Too Low")]
(if:$randomnumber < $guess)[(go-to:"Too High")]
(if:$guess = $randomnumber)[(go-to:"Just Right")]
(set:$guess to (prompt:"Too low, try again!", " "))
(set:$guess to (num:$guess))
(set:$guesses to it + 1)
(if:$randomnumber > $guess)[(go-to:"Too Low")]
(if:$randomnumber < $guess)[(go-to:"Too High")]
(if:$guess = $randomnumber)[(go-to:"Just Right")]
(set:$guesses to it + 1)
Congrats! The number was $randomnumber!
You guessed $guesses times.
Would you like to play again?
[[Yes|Initialize]]
(set:$randomnumber = (random:1,100))
(set:$guesses to 0)
(go-to:"Start")